function NetConnection() // It is a constructor. It creates a NetConnection object that you can use in conjunction with a NetStream object to play back local streaming video (FLV) files. After creating the NetConnection object, use NetConnection.connect() to make the actual connection.
function connect() // It is a constructor. It opens a local connection through which you can play back video (FLV) files from an HTTP address or from the local file system.